﻿#pragma once

#include <QWidget>
#include "positionsettingwid.h"
QT_BEGIN_NAMESPACE
namespace Ui { class RobotSettingWid; };
QT_END_NAMESPACE

class RobotSettingWid : public QWidget
{
	Q_OBJECT

public:
	RobotSettingWid(QWidget *parent = nullptr);
	~RobotSettingWid();
	void Init();

private slots:
	//void on_comboBox_currentIndexChanged(const QString& index);
	// 保存按钮
	void on_pushButton_clicked();
private:
	QString GetRobotType(const QString& index);
	QString GetRobotTypeString(const QString& type);
private:
	Ui::RobotSettingWid *ui;
	PositionSettingWid* m_base = nullptr;
};
